package com.briup.shopadmin.common.vo;

import com.briup.shopadmin.common.bean.Category;
import lombok.Data;

import java.util.List;

@Data
public class CategoryVO extends Category {
    private List<Category> categories;

    public CategoryVO(Category category){
        setId(category.getId());
        setName(category.getName());
    }
}
